package com.sc.nft.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.sc.nft.entity.dto.RefundDTO;
import com.sc.nft.entity.dto.RefundOrderPageDTO;
import com.sc.nft.entity.dto.TripartitePayRefundListDTO;
import com.sc.nft.entity.vo.PayOrderVO;
import com.sc.nft.entity.vo.RefundOrderPageVO;

import java.util.List;

public interface DeveloperBackstageService {
    /**
     * 获取用户分页退款订单
     * @param request
     * @return
     */
    IPage<RefundOrderPageVO> refundOrderPage(RefundOrderPageDTO request);

    /**
     * 根据手机号，订单号，订单类型查询三方支付退款列表
     * @param request
     * @return
     */
    List<PayOrderVO> tripartitePayRefundList(TripartitePayRefundListDTO request);

    /**
     * 退款
     * @param request
     */
    void refund(RefundDTO request);
}
